package com.xbongbong.parent.abstracts;

import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.pojo.dto.FormDataListDTO;
import com.xbongbong.paas.pojo.vo.PaasFormDataEsListVO;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.UserVO;
import com.xbongbong.pro.customer.pojo.CustomerMainContactPojo;
import org.springframework.stereotype.Component;


/**
 * @author 吴峰
 * @version v1.0
 * @date 2020/4/16 16:35
 * @since v1.0
 */
@Component
public abstract class AbstractSpecialDataAnalysisHelp {

    /**
     *
     * @param
     * @return java.lang.Integer
     * @author 吴峰
     * @date 2021/12/17 15:11
     * @throws XbbException
     */
    public abstract Integer businessType();

    /**
     *
     * @param formDataListDTO
     * @param formDataEsListVO
     * @return
     * @throws XbbException
     */
    public abstract CustomerMainContactPojo getSpecialData(FormDataListDTO formDataListDTO, PaasFormDataEsListVO formDataEsListVO) throws XbbException;

    /**
     *
     * @param resultObject
     * @param dataId
     * @param customerMainContactPojo
     * @param formDataEsListVO
     * @return void
     * @author 吴峰
     * @date 2021/12/17 15:10
     * @throws XbbException
     */
    public abstract void setSpecialData(JSONObject resultObject, Long dataId, CustomerMainContactPojo customerMainContactPojo, PaasFormDataEsListVO formDataEsListVO, UserVO loginUser) throws XbbException;


}
